home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / os2 / grx01b.zip / graphx.doc next >
Text File  |  1994-01-30  |  3KB  |  111 lines

  1. -------------------------------------------------------------------------------
  2. GraphX, by D. Beauchamp
  3. Version ß0.1
  4. Jan 1994
  5. -------------------------------------------------------------------------------
  6.  
  7. Welcome to GraphX, the data plotting utility for OS/2!  GraphX is intended to
  8. produce scattergrams or histograms with the posibility to choice between point
  9. styles, line styles, etc.
  10.  
  11. I developed this program to make it easier to display scientific-like graphics
  12. on the PM.  To use it, you must give it the data file name and some options.
  13.  
  14. e.g.: graphx datafile.dat [option1 value1 option2 value2 ...]
  15.  
  16. The data file must be an ASCII file with X and Y values given in two (2)
  17. columns.
  18.  
  19. GraphX is not very well protected against misused like 0 on logarithmic scale,
  20. or data going outside the frame.  I wrote it with the idea that it should
  21. only be the kernel of a graphic package.  It can be use alone but the user
  22. has to be aware of not giving it forbidden commands.
  23.  
  24. History:
  25. --------
  26.  
  27. o First release on 94/1/30 on ftp.cdrom.com
  28.  
  29.  
  30. Options available:
  31. ------------------
  32.  
  33. [graph options]
  34.  
  35. ulGrType: GT_SCATTER | GT_HISTO     (def.=GT_SCATTER)
  36.  
  37. [line options]
  38.  
  39. ulLnType: LT_NONE | LT_FULL         (def.=LT_NONE)
  40.  
  41. [point options]
  42.  
  43. ulPtType: PT_DOT | PT_CIRCLE | PT_BOX | PT_PLUS | PT_PLUS   (def.=PT_BOX)
  44.  
  45. [label options]
  46.  
  47. szTitle
  48. szXLabel
  49. szYLabel
  50.  
  51. [frame options]
  52.  
  53. xWinLeft: 0-1     (left of frame into window in %)
  54. xWinRight: 0-1
  55. yWinBottom: 0-1
  56. yWinTop: 0-1
  57. xMajor            (number of major divisions in X)
  58. xMinor            (number of minor divisions in X)
  59. yMajor
  60. yMinor
  61. ulXPrec           (number of decimals in X labels)
  62. ulYPrec           (number of decimals in Y labels)
  63.  
  64. [world options]
  65.  
  66. xMin              (minimum value in X)
  67. xMax
  68. yMin 
  69. yMax
  70.  
  71. bxLog: TRUE | FALSE  (log scale on X axis?)  (def.=FALSE)
  72. byLog: TRUE | FALSE  (log scale on Y axis?)  (def.=FALSE)
  73.  
  74.  
  75. Examples:
  76. ---------
  77.  
  78. graphx toto.dat szTitle "This is the Title" szXLabel "Year" szYLabel "Number"
  79.  
  80. will draw a graph with data in 'toto.dat', it will be a scattergram, and the
  81. axis labels will be 'Year' and 'Number'.
  82.  
  83. graphx sales.dat szTitle "Sales in 1993" szXLabel "Months" ulXPrec=0 byLog TRUE
  84. ulGrType GT_HISTO xMin 1 xMax 12 yMin 1 yMax 10000
  85.  
  86. will produce an histogram with log scale on Y axis.
  87.  
  88. Remarks:
  89. --------
  90.  
  91. With scattergrams, LT_FULL will join each point, while it will fill the bars on
  92. histograms.
  93.  
  94.  
  95. For more info:
  96. --------------
  97.  
  98. For more information about this program, contact Dominique Beauchamp at:
  99.  
  100. beaucham@phy.ulaval.ca [InterNet]
  101. DOMINIQUE BEAUCHAMP 1:240/507 [FidoNet]
  102.  
  103.  
  104. PLEASE REPORT ALL BUGS TO THE AUTHOR!  THANK YOU!
  105.  
  106.  
  107. From the same author: ViewFITS V.0.3, rel.2, a FITS viewer for OS/2 PM. (vf03r2)
  108.  
  109.  
  110.  
  111.